-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Openvino cmake config #7419
Openvino cmake config #7419
Conversation
77dd08e
to
1f2bb08
Compare
efe9ec7
to
8666873
Compare
@@ -75,7 +75,7 @@ RUN make -j $(nproc) install | |||
|
|||
# Run tests via tox | |||
WORKDIR /openvino/runtime/bindings/python | |||
ENV ngraph_DIR=/openvino/dist/deployment_tools/ngraph | |||
ENV OpenVINO_DIR=/openvino/dist/deployment_tools/inference_engine/share |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it a temporary change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenVINO_DIR
is permanent, path will be changed in future.
@@ -111,6 +111,25 @@ _ie_find_dependency(ngraph | |||
if(NOT TARGET inference_engine) | |||
set(_ie_as_external_package ON) | |||
include("${CMAKE_CURRENT_LIST_DIR}/InferenceEngineTargets.cmake") | |||
|
|||
# create targets with old names for compatibility | |||
if(TARGET IE::runtime AND NOT TARGET IE::inference_engine) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change prefix to OV? OV::runtime
# | ||
# The following components are supported: | ||
# | ||
# * `Runtime`: OpenVINO C++ and C Core & Inference Runtime, frontend manager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a Core
as a separate component?
# | ||
# The module sets the following variables in your project: | ||
# | ||
# `OpenVINO_FOUND` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if user wants to use nGraph without the runtime?
@@ -39,26 +39,50 @@ | |||
|
|||
if(NOT TARGET ngraph) | |||
include("${CMAKE_CURRENT_LIST_DIR}/ngraphTargets.cmake") | |||
|
|||
# create targets with old names for compatibility | |||
if(TARGET ngraph::core AND NOT TARGET ngraph::ngraph) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not openvino::core?
* Added OpenVINOConfig.cmake * OpenVINOConfig.cmake part 2 * Trying to fix cmake generation * Fixes * Export frontends as well * Fixed condition * Added OpenVINO cmake package usage: docs, C samples * Use more OpenVINO config * Install OpenVINOConfig.cmake * Trying to fix private plugins * Trying to fix .tox * Trying to fix ARM * Fixed samples build * Explicit ngraph duplicated targets * Fixed fuzzing tests build * Added IR frontend installation * Removed install directory for IE reader * Removed IR frontend from export list * Reverted ngraph_DIR * Try to fix .tox * Fixed ieFuncTests with ONNX extensions * Attempt #2 * Trying to fix ngraph setup.py * Fix * Trying to fix ONNX ngraph .tox CI * Trying to remove spaces * Fixed ngraph_DIR -> OpenVINO_DIR * Removed junk files * Try to fix ngraph wheel * Try to fix ie_wheel * Try to fix ngraph wheel
Details:
Tickets: